package com.ruikong.dazhi.service.basicinfo;

import com.github.pagehelper.PageInfo;
import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.entity.basicinfo.Device;
import com.ruikong.dazhi.entity.basicinfo.Device;
import com.ruikong.dazhi.model.input.DevicePageInput;
import org.springframework.web.multipart.MultipartFile;

/**
 * (Device)表服务接口
 *
 * @author HuaJiaYi
 * @since 2021-09-29 10:55:42
 */
public interface IDeviceService {

    Device queryById(Integer id);

    int insert(Device device);

    int update(Device device);

    int deleteById(Integer id);

    PageInfo<Device> getDevicePageList(DevicePageInput input);

    Integer isExist(Device device);

    BaseResult deviceImport(MultipartFile file, Integer personnelId);


    boolean deleteByIds(Integer[] ids);

//    BaseResult deviceImport(MultipartFile file, Integer personnelId);

}
